package com.swanclouds.redfish.common.redfish;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonRootName;

/**
 * @author 李文强
 * description
 */
@JsonRootName("Vlan")
public class Vlan {

    /**
     * 指定BMC网口VLAN功能的使能状态，包括：true false
     */
    @JsonProperty("VLANEnable")
    private Boolean vlanEnable;

    //指定BMC网口所属VLAN的ID
    @JsonProperty("VLANId")
    private Integer vlanId;

    public Vlan vlanEnable(Boolean vlanEnable) {
        this.vlanEnable = vlanEnable;
        return this;
    }

    public Vlan vlanId(Integer vlanId) {
        this.vlanId = vlanId;
        return this;
    }

    public static Vlan update() {
        return new Vlan();
    }
}
